%% rpc.hrl

-record(service_proc, {name,   %% atom()   name of proc 
					   summary,%% string()
					   help,   %% string()
					   params, %% [{atom(),object|number|array|string|null|any}]
					   		   %%    proc arguments, name and type pair.
					   return  %% object|number|array|string|null|any 
					  		   %%    return type
				  	  }).

-record(service, {name,		   %% string()   name of service
				  id,          %% uuid()     service uuid, auto generate if undefined.
				  version=[],  %% string()   service version
				  summary=[],  %% string()   service summary, could be html text
				  help=[],     %% string()   service descriptor, could be html text
				  handler,     %% {pid,pid()|atom()} | 
				  			   %% {function,atom(),atom()} rpc handler 
				  procs        %% [service_proc()] service processor
				 }).